// dllmain.cpp : Defines the entry point for the DLL application.
#include "stdafx.h"

HMODULE Gbl_ModuleHandler;



//
// DllEntryPoint
//
extern "C" BOOL WINAPI DllEntryPoint(HINSTANCE, ULONG, LPVOID);

BOOL APIENTRY DllMain(HMODULE hModule, 
                      DWORD  dwReason, 
                      LPVOID lpReserved)
{
    Gbl_ModuleHandler = hModule;
	return DllEntryPoint((HINSTANCE)(hModule), dwReason, lpReserved);
}